package com.liy.cloud.common.ext.service.impl;

import com.liy.cloud.common.ext.dao.IExtBaseDao;
import com.liy.cloud.common.ext.service.IExtBaseService;
import com.das.framework.common.service.impl.BaseServiceImpl;

import java.io.Serializable;
import java.util.List;

public abstract class ExtBaseServiceImpl<T, PK extends Serializable> extends BaseServiceImpl<T, PK> implements IExtBaseService<T, PK> {

    public abstract IExtBaseDao<T, PK> getDao();
    @Override
    public int deleteBatch(List<String> ids) throws Exception {
        return this.getDao().deleteBatch(ids);
    }
    @Override
    public T checkAddEdit(T var1) throws Exception {
        return this.getDao().checkAddEdit(var1);
    }
}
